<?php slot('footerMenu') ?>
        <ul>
          <?php foreach($struct as $element): ?>
            <li><a href="<?php echo LinkGen::getInstance(LinkGen::STRUCTURE)->link($element['id']) ?>"><?php echo $element['pageTitle'] ?></a></li>
          <?php endforeach ?>
		</ul>
<?php end_slot() ?>